﻿using System;

namespace IceCS.MovieRent
{
    class Program
    {
        static void Main(string[] args)
        {
            var movie1 = new Movie("泰坦尼克号", new RegularPrice());
            var rental1 = new Rental(movie1, 3);
            var rental2 = new Rental(movie1, 2);
            var customer1 = new Customer("张三");
            customer1.AddRental(rental1);
            customer1.AddRental(rental2);

            var text1 = customer1.Statement();
            var text2 = customer1.HtmlStatement();
            Console.WriteLine(text1);
            Console.WriteLine(text2);
        }
    }
}
